package com.knowswift.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.knowswift.common.bean.project.po.ModulePermission;
import com.knowswift.common.bean.project.vo.ModulePermissionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ModulePermissionMapper extends BaseMapper<ModulePermission> {
    List<ModulePermissionVO> getByUserId(@Param("userId") String userId);

    List<ModulePermission> getByModuleId(@Param("moduleId") String moduleId);
}